package org.anjan.dp.templatemethod;

public class ItalianHoagie extends Hoagie {
    private String[] meatUsed = new String[]{"Salami", "Pepperoni", "Ham"};
    private String[] cheeseUsed = new String[]{"Provolone"};

    @Override
    public void addMeat() {
        System.out.println("adding the meat");
        for (String meat : meatUsed) {
            System.out.println("meat = " + meat);
        }
    }

    @Override
    public void addCheese() {
        System.out.println("adding the cheese");
        for (String cheese : cheeseUsed) {
            System.out.println("cheese = " + cheese);
        }
    }

    @Override
    public void addVeggies() {

    }

    @Override
    public void addPatty() {

    }


    @Override
    public boolean customerWantsCheese() {
        return false;
    }


    @Override
    public boolean customerWantsPatty() {
        return false;
    }
}
